﻿@using BELLTruongThinh.Models;
@{
    TruongThinhEntities db = new TruongThinhEntities();
    var listimg = db.Images.Where(m => m.Type == "banner").ToList();
    }
<div id="slider" class="nivoSlider">
    @foreach (var i in listimg)
    {
         <img src="~/Content/images/@i.Path" alt="" />
    }
    @*<img src="~/Content/images/sl1.jpg" alt="" />
    <img src="~/Content/images/sl2.jpg" alt="" />*@
</div>
